package com.zyj.business.eureka;

import com.zyj.business.commonality.common.BootstrapConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @author yicky zhang
 * @create 2018-03-20 14:37
 * @desc
 **/
@SpringBootApplication
@EnableEurekaServer
public class Application {
    static {
        BootstrapConfig.loadConfig();
    }

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
